package com.fsy.service;

import com.fsy.entities.Roles;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 凡凡
* @description 针对表【roles】的数据库操作Service
* @createDate 2022-04-17 20:38:33
*/
public interface RolesService extends IService<Roles> {

    /**
     * 查询所有角色
     * @param roles
     * @return
     */
    List<Roles> selectRolesById(Roles roles);

    /**
     * 查询总数
     * @param roles
     * @return
     */
    int selectCounts(Roles roles);
}
